package ricky.loader.protocol
{
	import flash.display.LoaderInfo;
	import flash.events.Event;
	import flash.events.IOErrorEvent;
	import flash.net.URLLoaderDataFormat;
	import flash.system.ApplicationDomain;
	import flash.system.LoaderContext;
	import flash.utils.ByteArray;
	import flash.utils.Dictionary;
	import flash.utils.Endian;
	
	import ricky.Interface.IDecoder;
	import ricky.Interface.ILoadComplete;
	import ricky.loader.MultipleLoader;
	import ricky.loader.Request;

	/**
	 * 资源解包类
	 */
	public class Decoder
	{
		public function Decoder()
		{
		}
		
		public static function registerDecoder(mul:MultipleLoader):void
		{
			var type:String;
			var normal:DisplayDecoder=new DisplayDecoder();
			
			mul.addProtool("jpg",normal);
			mul.addProtool("png",normal);
			mul.addProtool("gif",normal);
			mul.addProtool("swf",normal);

		}
		
	}
}